// with polyfills
import 'core-js/stable'
import 'regenerator-runtime/runtime'
import './assets/abtd/iconfont.css'

import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/'
import { VueAxios } from './utils/request'
import './mock'
import bootstrap from './core/bootstrap'
import './core/lazy_use'
import './permission' // permission control
import './utils/filter' // global filter
import './components/global.less'
// // 首先引入Icon 
import { Icon } from 'ant-design-vue';
// 其次，在IconFont自己的项目中找到项目链接地址
import Print from 'vue-print-nb'
Vue.use(Print);  //注册
const MyIcon = Icon.createFromIconfontCN({
  scriptUrl: '//at.alicdn.com/t/font_1689223_gvwzbqpop57.js', // 在 iconfont.cn 上生成
});
//a-icon
Vue.component('MyIcon', MyIcon);
//最后将自己的icon挂载到全局组件上
Vue.config.productionTip = false
// mount axios Vue.$http and this.$http
Vue.use(VueAxios)
new Vue({
  router,
  store,
  created: bootstrap,
  render: h => h(App)
}).$mount('#app')
